package com.hskn.hss.module.oilDevice.ex.to;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hskn.hss.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 耗油报表TO
 *
 * @author zcy
 * @date 2021/10/9 13:21
 */
@Data
@ApiModel(value = "耗油报表列表-TO", description = "耗油报表列表-TO")
public class OilConsumeExcelTO extends BaseEntity implements Serializable {
    @ApiModelProperty(value = "车辆类型ID", name = "carTypeId", example = "02eb9c47bd9944c788b2f00407efbc3e")
    private String carTypeId;
    @ApiModelProperty(value = "车辆ID集合", name = "carIds", example = "02eb9c47bd9944c788b2f00407efbc3e")
    private List<String> carIds;
    @ApiModelProperty(value = "是否每天1：是，0：否", name = "isEve", example = "1")
    private Integer isEve;
    @ApiModelProperty(value = "油量信息类型 1:耗油,2:漏油,3:加油", name = "oilType", example = "1")
    private Integer oilType;
    @ApiModelProperty(value = "开始时间", name = "startTime", example = "2021-09-22")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startTime;
    @ApiModelProperty(value = "结束时间", name = "endTime", example = "2021-09-22")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endTime;
    @ApiModelProperty(value = "日期集合", name = "Times", example = "02eb9c47bd9944c788b2f00407efbc3e")
    private List<String> Times;


}
